.clearfix::after{
    content: "";
    display: block;
    clear: both;
}

.form{
    width: 980px;
    margin: 1em auto;
}

.form a{
    color: #00a1d6;
}

.form h2{
    text-align: center;
    font-size: 38px;
    border-bottom: 1px solid #ddd;
    height: 28px;
    margin-bottom: 50px;
}

.form h2 span{
    background: #fff;
    padding: 0 20px;
}


/* 表单区域 */
.form-area{
    width: 423px;
    margin: 0 auto;
}

.form-area .form-item{
    margin: 40px 0;
    position: relative;
}

.form-area .form-item .error{
    position: absolute;
    width: 240px;
    right: -260px;
    top: 10px;
    color: #f45d90;
    font-size: 12px;
}




/* 统一的文本框样式 */
input[type="text"], input[type="password"]{
    border: 1px solid #dcdfe6;
    width: 100%;
    box-sizing: border-box;
    border-radius: 4px;
    height: 40px;
    text-indent: 1em;
    font-size: 14px;
    color: #606266;
    font-family: "PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif";
}

input[type="text"]:hover, input[type="password"]:hover{
    border-color: #c0c4cc;
}

input[type="text"]::placeholder, input[type="password"]::placeholder{
    color: #ccc;
}

input[type="text"]:focus, input[type="password"]:focus{
    border-color: #00a1d6;
}


/* 地区选择框 */
.form-area .select .select-item{
    width: 130px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    box-sizing: border-box;
    position: relative;
}

.form-area .select .select-item .title{
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
    color: #909399;
}

.form-area .select .select-item ul{
    /* 最大高度 */
    display: none;
    max-height: 256px;
    background: #fff;
    color: #606266;
    position: absolute;
    width: 100%;
    z-index: 1;
    left: 0;
    top: 50px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    padding: 10px 0;
    font-size: 14px;
    overflow-y: auto;
    overflow-x: hidden;
}
/* 地区选择框的<li> */
.form-area .select .select-item ul li{
    height: 34px;
    line-height: 34px;
    padding: 0 20px;
    cursor: pointer;
}

.form-area .select .select-item ul li.selected{
    color: #00a1d6;
    font-weight: bold;
}

.form-area .select .select-item ul li:hover{
    background: #f5f7fa;
}

.form-area .select .select-item, .form-area .select .input{
    float: left;
    height: 40px;
}

/* 手机号输入框 */
.form-area .select .input input{
    border-radius: 4px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.form-area .select .input{
    width: 293px;
}

/* 统一设置按钮样式 */
button{
    height: 40px;
    background: #00a1d6;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
    border: none;
    font-size: 14px;
}

button:hover{
    background: #33b4de;
}

.form-area .form-item .btn-sncode{
    width: 130px;
    height: 36px;
    position: absolute;
    right: 2px;
    top: 2px;
}

/* 同意协议 */
.form-area .readme{
    margin-top: -30px;
    margin-bottom: -30px;
    font-size: 12px;
} 

.form-area .readme input{
    display: none;
}

.form-area .readme input:checked+.checkbox::after{
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    box-sizing: border-box;
    background: #00a1d6;
    margin-left: 3px;
    margin-top: 3px;
}

.form-area .readme input:checked+.checkbox{
    border-color: #00a1d6;
}

.form-area .readme .checkbox{
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
}

/* 注册按钮 */
button.fill{
    width: 100%;
}

button:disabled{
    background: #f5f5f5;
    color: rgb(0,0,0,.25);
    border: 1px solid #d9d9d9;
    box-sizing: border-box; 
    cursor: not-allowed;
}

.txtright{
    text-align: right;
}



